/*
 * @Author: itcc 1340033463@qq.com
 * @Date: 2023-10-11 05:09:14
 * @LastEditors: itcc 1340033463@qq.com
 * @LastEditTime: 2023-10-15 21:26:31
 * @FilePath: \Vue2-source\src\init.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { initState } from "./initState";

export default function initMixin(Vue) {
    Vue.prototype._init = function(options) {
       const vm = this;
       this.$options = options;
       initState(vm);
    }
}